package spaces;

import vectors.Location;

public class Node {
	protected Location location;
	
	protected final String name;
	
	public Node(String name){
		this.name = name;
	}
	
	public Node(String name, Location location){
		this.name = name;
		this.location = location;
	}

	public String getName() {
		return name;
	}
	
	public Location getLocation() {
		return location;
	}

	public void setLocation(Location location) {
		this.location = location;
	}
}
